<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <center>
    	<h1>文件上传</h1>
    	<form id="form1" action="uploadfile" method="post" enctype="multipart/form-data">
    		<table border="1" cellpadding="4" cellspacing="2" bordercolor="#9BD7FF">
    			<tr>
    				<td width="100%" colspan="2">
    					文件:<input type="file" size="40" name="file1"> 
    				</td>
    			</tr>
    		</table>
    		<table>
    			<tr>
    				<td align="center"><input type="submit" value="上传"></td>
    			</tr>
    		</table>
    	</form>
    </center>
  </body>
</html>